package org.yanfengying.user.service;

import org.yanfengying.dto.BinderDTO;
import org.yanfengying.dto.PasswordDTO;
import org.yanfengying.dto.PhoneLoginDTO;
import org.yanfengying.dto.RegisterSmsDTO;

public interface IVerifyCodeService {

    String getImageCode(String key) throws Exception;

    void sendRegisterSmsCode(RegisterSmsDTO dto);

    void sendBinderSmsCode(BinderDTO dto);

    void sendPhoneSmsCode(PhoneLoginDTO dto);

    void sendPasswordSmsCode(PasswordDTO dto);
}
